/***************************************************************
 * Name:      MortMain.h
 * Purpose:   Defines Application Frame
 * Author:    Eusebio Aguilera (eusebio.aguilera@gmail.com)
 * Created:   2011-11-23
 * Copyright: Eusebio Aguilera (http://code.google.com/p/mort/)
 * License:   BSD
 **************************************************************/

#ifndef MORTMAIN_H
#define MORTMAIN_H

// XML Documents
#include <wx/xml/xml.h>

#include "tools/SkipfishToolHandler.h"

//(*Headers(MortFrame)
#include <wx/menu.h>
#include <wx/frame.h>
#include <wx/statusbr.h>
//*)

class MortFrame: public wxFrame
{
    public:

        MortFrame(wxWindow* parent,wxWindowID id = -1);
        virtual ~MortFrame();

    private:

        //(*Handlers(MortFrame)
        void OnQuit(wxCommandEvent& event);
        void OnAbout(wxCommandEvent& event);
        void OnNewScanSelected(wxCommandEvent& event);
        void OnClose(wxCloseEvent& event);
        void OnEditPreferencesSelected(wxCommandEvent& event);
        //*)

        void CheckDefaultEnviroment();
        void LoadDefaultProfile();

        //(*Identifiers(MortFrame)
        static const long idNewScan;
        static const long idMenuQuit;
        static const long idPreferences;
        static const long idMenuAbout;
        static const long ID_STATUSBAR1;
        //*)

        //(*Declarations(MortFrame)
        wxMenu* Menu3;
        wxMenuItem* MenuItem4;
        wxMenuItem* MenuItem3;
        wxStatusBar* StatusBar1;
        //*)

        // Defailt profile for the program
        wxXmlDocument *defaultProfile;
        SkipfishConfigData config;

        DECLARE_EVENT_TABLE()
};

#endif // MORTMAIN_H
